﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using BLToolkit.Data.Sql.SqlProvider;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace nwrole.toolbox.sync.entity
{
    [DataContract]
    [TableName("SyncSetting")]
    public class SyncSetting
    {
        [DataMember]
        [PrimaryKey, Identity, SequenceName("nwrole")]
        public long Id { get; set; }

        [DataMember]
        [MapField("Key")]
        public string Key { get; set; }

        [DataMember]
        [MapField("Value")]
        public string Value { get; set; }

        [DataMember]
        [MapField("Description")]
        public string Description { get; set; }

        [DataMember]
        [MapField("CreatedDt")]
        public DateTime CreatedDt { get; set; }

        [DataMember]
        [MapField("UpdatedDt")]
        public DateTime? UpdatedDt { get; set; }

    }
}
